import request from '@/router/axios';

export const getList = (current, size, params) => {
    return request({
        url: '/api/mes-warehouse/packing/overdue/page',
        method: 'get',
        params: {
            ...params,
            current,
            size,
        }
    })
}

export const getDetail = (params) => {
    return request({
        url: '/api/mes-warehouse/packing/overdue/detail',
        method: 'get',
        params
    })
}

//发起检验
export const submit = (data) => {
    return request({
        url: '/api/mes-product/inspection-document/submit',
        method: 'post',
        data
    })
}


/**
 * 获取库存中心信息
 */
export const getInventoryInfo = (params) => {
    return request({
        url: '/api/mes-admin/inventory/list',
        method: 'get',
        params
    });
}


